<script setup lang="ts">
</script>
<template>
  <router-view></router-view>
</template>

<style>

.fade-in {
  opacity: 0;
  transform: translateX(100%);
  animation: fade-in-animation 1s ease-in forwards, right-to-left-animation 1s ease-in forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes fade-in-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes right-to-left-animation {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}


/*全局样式*/
* {
  padding: 0px;
  margin: 0px;
}

html, body {
  height: 100%;
  color: #333
}

a {
  text-decoration: none;
  color: #333
}

ul li {
  list-style: none;
}

.clear {
  clear: both;
}

body {
  font-family: '华文楷体', Arial, Helvetica, sans-serif;
  background: #f3f3f3;
}


/*这是分类页面的代码*/
body.w1100 {
  width: 100%;
  margin: 0 auto;
}

.lr {
  float: right;
}


.header .nav {
  background-color: rgba(50, 50, 50, 0.2);
  font-size: 20px;
  position: fixed;
  height: 70px;
  line-height: 70px;
  width: 100%;
  z-index: 1000; /* 确保导航栏在顶部 */
  display: flex; /* 使用 Flexbox 布局 */
  /*justify-content: space-between; /* 左右对齐 */
  /*align-items: center;*/
}

.header .nav .logo {
  margin-left: 20px; /* 左边距根据需要调整 */
}

.header .nav .logo img {
  margin-top: 15px; /* 设置图片与顶部的距离 */
  height: 50px; /* 设置图片高度 */
  width: auto; /* 自动调整宽度 */
}

.header .nav ul {
  margin-left: 90%;
  list-style-type: none;
  text-align: center;
  width: 100%;
  display: flex;
}

.header .nav ul li {
  margin: 0 10px;
}

.header .nav ul li a {
  text-decoration: none;
  color: white; /* 设置文字颜色为白色 */
  padding: 5px 10px; /* 调整按钮内边距 */
  margin: 0;
  transition: all 0.3s ease;
}

.header .nav ul li a:hover {
  background-color: rgba(200, 200, 200, 0.2); /* 按钮背景透明度变化 */
  color: black; /* 鼠标悬停时文字颜色变化 */
}

.header .nav .menu .down {
  display: none; /* 默认隐藏下拉菜单 */
  position: absolute;
  left: 0;
  background-color: rgba(50, 50, 50, 0.2); /* 下拉菜单背景色，与导航栏一致 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 下拉菜单阴影 */
  width: 100%; /* 宽度撑满 */
  height: 70px
}

.header .nav .menu ul li:hover .down {
  display: block; /* 光标悬停时显示下拉菜单 */
}

/* 调整下拉菜单样式 */
.header .nav .menu .down ul {
  list-style-type: none;
  padding: 0 0;
  margin: 0;
  display: flex; /* 使用 Flexbox 布局 */
  /*justify-content: flex-start; /* 均匀分布链接 */
  margin-left: 590px;
  margin-top: 0 !important;
}

.header .nav .menu .down ul li {
  padding: 0px 5px; /* 调整内边距 */
  margin-right: 2px; /* 调整链接之间的间距 */
}

.header .nav .menu .down ul li:last-child {
  margin-right: 0; /* 最后一个链接去掉右侧间距 */
}

.header .nav .menu .down ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: 5px 0 !important;
  margin: 0;
}

.header .nav .menu .down ul li a:hover {
  color: #000000; /* 鼠标悬停时修改链接颜色 */
  background-color: transparent;
}

.container {
  display: flex;
  width: 90%;
  background-color: transparent;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-left: 90px;
}



.left p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}


.box {
  padding: 10px;
  border-bottom: 1px solid #eee; /* 分割线 */
}

.box:last-child {
  border-bottom: none; /* 最后一个框不显示下边框 */
}

.box a {
  display: block;
  text-decoration: none;
  color: #428bca;
  font-size: 18px;
  transition: color 0.3s ease;
}

.box a:hover {
  text-decoration: underline;
}


.background-image img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto; /* 或者设置固定高度，根据实际图片大小来调整 */
  z-index: -1;
  pointer-events: none; /* 使背景图片不影响鼠标事件 */
}

/* banner */
.banner {
  width: 100%;
  margin: 0 auto;
}

.slideBox {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.slideBox .hd {
  height: 10px;
  overflow: hidden;
  position: absolute;
  top: 404px;
  z-index: 1;
  width: 100px;
  left: 50%;
  padding: 4px 0px 0px 0px;
  color: #8c1f19
}

.slideBox .hd ul {
  zoom: 1;
}

.slideBox .hd ul li {
  float: left;
  width: 10px;
  height: 10px;
  background: #fff;
  cursor: pointer;
  margin-right: 10px;
}

.slideBox .hd ul li.on {
  background: #9e231d;
}

.slideBox .bd {
  position: relative;
  height: 100%;
  z-index: 1;
}

.slideBox .bd ul, .slideBox .bd ul li {
  width: 100% !important
}

.slideBox .bd img {
  height: auto;
  display: block;
  max-height: 680px
}

/*介绍*/
.about {
  margin: 0px auto;
  margin-top: 50px;
  margin-bottom: 60px;
  position: relative;
  padding: 0px 10px;
}

.about h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 42px;
  text-align: center;
}

.box01 {
  width: 570px;
  padding: 10px;
}

.box02 {
  width: 470px;
}

.box02 img {
  width: 100%;
  border: 5px solid #fff;
}

.box01 h3 {
  line-height: 40px;
  font-size: 20px;
}

.box01 p {
  margin-bottom: 10px;
  line-height: 30px;
  font-size: 16px;
  text-indent: 2rem;
}

/*种类*/
.jd {
  background: #f0edf5;
  padding: 40px 0px;
}

.dg h2, .jd h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 50px;
  padding-bottom: 40px
}

.jdlist ul {
  display: flex;
}

.jdlist ul li {
  margin: 15px;
}

.jdlist ul li img {
  width: 100%;
}

.jdlist ul li p {
  text-align: center;
  background: #fff;
  line-height: 32px;
}


.w1050 h2 {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 视频铺满容器 */
}

.list ul {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-around;*/
  padding: 15px 0;
  margin-left: 50px;
  margin-right: 50px !important;
}

.list ul li {
  max-width: 200px;
  margin: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
}

.list ul li img {
  width: 100%;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

.list ul li p {
  background: rgba(255, 255, 255, 0.3);
  line-height: 32px;
  margin: 0px;
  padding: 5px; /* 增加内边距使文字内容更清晰 */
}

/*内页*/
.con {
  padding: 10px 15px;
  text-align: center;
}

.con img {
  width: 90%;
  height: 650px;
  margin-top: 90px;
}

.con h2 {
  color: #6e2e0a;
  font-size: 26px;
  margin-top: 30px;
  margin-bottom: 20px;
}


.zanyu h2 {
  line-height: 60px;
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  padding-bottom: 30px;
  color: #fff;
}

.zanyu h3 {
  line-height: 50px;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}

.zanyu p {
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
  line-height: 32px;
  color: #fff;
}

.footer {
  color: rgb(0, 0, 0);
  padding: 40px 20px;
}

.footer p {
  line-height: 32px;
}

.footer a {
  font-weight: bold;
  font-size: 16px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  margin-right: 10px;
}

.footer a:hover {
  text-decoration: underline;
}


.nbanner h2, .jdbanner h2, .wcbanner h2 {
  padding: 150px 0px;
  text-align: center;
  color: #fff;
  font-size: 36px;
}


.h30 {
  height: 30px;
}

/*这是资讯页面的代码*/
.news-container {
  max-width: 1500px;
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.big-box {
  display: flex;
  position: relative;
  border-bottom: 1px solid #eee;
  justify-content: center;
}

.left img {
  width: 600px;
  height: 400px;
  display: block;
}



.right h2 {
  font-size: 24px;
  color: black;
}

.right ul {
  list-style: none;
  padding: 0;
}



.right ul li a {
  text-decoration: none;
  color: black;
  font-size: 22px;
  display: block;
  transition: color 0.3s ease;
  margin: 10px;
  font-weight: bold;
}

.right ul li a:hover {
  color: blue;
  text-decoration: underline;
}

.right ul li h {
  text-decoration: none;
  color: black;
  font-size: 16px;
  display: block;
  transition: color 0.3s ease;
  margin: 5px;
}

.news-container.more-recommendations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 80px;

}

* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


* {
  font-family: '华文楷体', Arial, Helvetica, sans-serif;
}

img {
  pointer-events: none;
}
</style>
